<!DOCTYPE html>
<html>
<head>
    <title>测试this</title>
    <meta charset="utf-8"/>
    <script src="../../js/jquery-1.10.1.min.js"></script>
    <script>
      var obj = {
          x: 10
      };

      var fn = function(){
          console.log(this);
          console.log(this.x);
      }
      fn.call(obj);
    </script>
</head>
<body>
    <p>测试this测试this</p>
</body>
</html>